﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;

namespace CPPEI.WebApi
{
    public interface IAuthProvider
    {
        bool Save(string userId, TimeSpan expires);

        void Delete();

        string GetUserId();

        bool IsAuth();
    }
}
